package com.nsqt.biz.service;

import com.nsqt.biz.domain.AgentDO;

import java.util.List;
import java.util.Map;

/**
 * 代理商
 */
public interface AgentService {
    AgentDO get(Long id);

    AgentDO getByName(String name);

    List<AgentDO> list(Map<String, Object> map);

    int count(Map<String, Object> map);

    int save(AgentDO agent);

    int update(AgentDO agent);

    int remove(Long id);

    int batchRemove(Long[] ids);
}
